/*
import { post } from '@/utils/request'
*/

/*export default {
  index: () => post('/api/student/dashboard/index'),
  task: () => post('/api/student/dashboard/task')
}*/

import request from '@/utils/request'

export function paperIndex(query) {
  return request({
    url: '/api/student/dashboard/index',
    method: 'post',
    params: query
  })
}

export function paperTask(query) {
  return request({
    url: '/api/student/dashboard/task',
    method: 'post',
    params: query
  })
}
